<form id="app-form" class="layui-form layuimini-form">
    {foreach name="rule" item="vo"}
        <div class="layui-form-item">
            <label class="layui-form-label">{$vo.title}</label>
            <div class="layui-input-block">
                <input type="text" name="{$vo.name}" class="layui-input is_long{$vo.is_long_rule}" lay-verify="required"
                       placeholder="{php}if($vo->placeholder){echo $vo->placeholder;}else{echo '请输入规则';}{/php}" value="{$vo.value}">
                <tip>
                    {$vo.remark}
                    {if condition="$vo->example gt ''" }
                    <span class="color-red">【{$vo.example}】</span>
                    {/if}
                </tip>
            </div>
        </div>
    {/foreach}
    <div class="hr-line"></div>
    <div class="layui-form-item text-center">
        <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="system.config/save" data-refresh="false">确认</button>
        <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
    </div>

</form>